//
//  KitRegister.m
//  Share
//
//  Created by CPX on 2018/10/17.
//  Copyright © 2018年 CPX. All rights reserved.
//

#import "KitRegister.h"
#import "TwitterKit/TWTRKit.h"
#import "FBSDKCoreKit.h"
#import "GoogleSignIn/GoogleSignIn.h"

@implementation KitRegister

+ (void)registeApp:(UIApplication *)app options:(NSDictionary *)options{
    [[FBSDKApplicationDelegate sharedInstance] application:app
                             didFinishLaunchingWithOptions:options];
}

+ (void)configureTwitterWithKey:(NSString *)key secret:(NSString *)secret{
    [[TWTRTwitter sharedInstance] startWithConsumerKey:key consumerSecret:secret];
}

+ (void)confiureGoogleSignWithClientId:(NSString*)clientId{
    [GIDSignIn sharedInstance].clientID = clientId;
}

@end
